﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Template.Master" AutoEventWireup="true" CodeBehind="BookTicket.aspx.cs" Inherits="OnlineBusTicket.BookTicket" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <ContentTemplate>
            <asp:ScriptManager ID="ScriptManager1" runat="server">
            </asp:ScriptManager>
            <br />
            &nbsp;&nbsp;&nbsp;&nbsp;
            <asp:Label ID="Label4" runat="server" Font-Bold="True" Font-Size="Larger" 
                ForeColor="#009900" Text="Information of the payer"></asp:Label>
            <br />
            <br />
            <br />
            &nbsp;&nbsp;&nbsp;&nbsp;
            <asp:Label ID="Label1" runat="server" Text="FullName:" Width="150px"></asp:Label>
            <asp:Label ID="lblFullName" runat="server" Text="Label" Width="150px"></asp:Label>
            <br />
            <br />
            &nbsp;&nbsp;&nbsp;&nbsp;
            <asp:Label ID="Label3" runat="server" Text="Gender:" Width="150px"></asp:Label>
            <asp:Label ID="lblGender" runat="server" Text="Label" Width="150px"></asp:Label>
            <br />
            <br />
            &nbsp;&nbsp;&nbsp;&nbsp;
            <asp:Label ID="Label6" runat="server" Text="Age:" Width="150px"></asp:Label>
            <asp:Label ID="lblAge" runat="server" Text="Label" Width="150px"></asp:Label>
            <br />
            <br />
            &nbsp;&nbsp;&nbsp;&nbsp;
            <asp:Label ID="Label8" runat="server" Text="Address:" Width="150px"></asp:Label>
            <asp:Label ID="lblAddress" runat="server" Text="Label" Width="150px"></asp:Label>
            <br />
            <br />
            &nbsp;&nbsp;&nbsp;&nbsp;
            <asp:Label ID="Label10" runat="server" Text="Phone:" Width="150px"></asp:Label>
            <asp:Label ID="lblPhone" runat="server" Text="Label" Width="150px"></asp:Label>
            <br />
            <br />
            <br />
            &nbsp;&nbsp;&nbsp;&nbsp;
            <asp:Label ID="Label12" runat="server" Font-Bold="True" Font-Size="Larger" 
                ForeColor="#009900" Text="Travel Information"></asp:Label>
            <br />
            <br />
            <br />
            &nbsp;&nbsp;&nbsp;&nbsp;
            <asp:Label ID="Label13" runat="server" Text="Full Name of passenger :" Width="150px"></asp:Label>
            <asp:TextBox ID="txtFullName" runat="server" Height="22px" Width="150px"></asp:TextBox>
            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                ControlToValidate="txtFullName" ErrorMessage="*Must not blank" 
                ForeColor="#CC0000"></asp:RequiredFieldValidator>
            <br />
            <br />
            &nbsp;&nbsp;&nbsp;&nbsp;
            <asp:Label ID="Label14" runat="server" Text="Age of passenger:" Width="150px"></asp:Label>
            <asp:DropDownList ID="ddlAge" runat="server" Width="150px" AutoPostBack="True">
                <asp:ListItem>--Select--</asp:ListItem>
                <asp:ListItem>&lt; 5</asp:ListItem>
                <asp:ListItem>5 - 12</asp:ListItem>
                <asp:ListItem>13 - 50</asp:ListItem>
                <asp:ListItem>&gt; 50</asp:ListItem>
            </asp:DropDownList>
            <br />
            <br />
            &nbsp;&nbsp;&nbsp;&nbsp;
            <asp:Label ID="Label20" runat="server" Text="Bus ID" Width="150px"></asp:Label>
            <asp:Label ID="lblBusListID" runat="server" Text="Label" Width="150px"></asp:Label>
            <br />
            <br />
            &nbsp;&nbsp;&nbsp;&nbsp;
            <asp:Label ID="Label21" runat="server" Text="Bus Catelogy" Width="150px"></asp:Label>
            <asp:Label ID="lblBusCatelogy" runat="server" style="margin-bottom: 0px" 
                Text="Label" Width="150px"></asp:Label>
            <br />
            <br />
            &nbsp;&nbsp;&nbsp;&nbsp;
            <asp:Label ID="Label15" runat="server" Text="Departure Place:" Width="150px"></asp:Label>
            <asp:Label ID="lblDeparturePlace" runat="server" Text="Label" Width="150px"></asp:Label>
            <br />
            <br />
            &nbsp;&nbsp;&nbsp;&nbsp;
            <asp:Label ID="Label16" runat="server" Text="Arrive Place:" Width="150px"></asp:Label>
            <asp:Label ID="lblArrivePlace" runat="server" Text="Label" Width="150px"></asp:Label>
            <br />
            <br />
            &nbsp;&nbsp;&nbsp;&nbsp;
            <asp:Label ID="Label17" runat="server" Text="Start Date:" Width="150px"></asp:Label>
            <asp:Label ID="lblStartDate" runat="server" Text="Label" Width="150px"></asp:Label>
            <br />
            <br />
            &nbsp;&nbsp;&nbsp;&nbsp;
            <asp:Label ID="Label18" runat="server" Text="Time:" Width="150px"></asp:Label>
            <asp:Label ID="lblTime" runat="server" Text="Label" Width="150px"></asp:Label>
            <br />
            <br />
            &nbsp;&nbsp;&nbsp;&nbsp;
            <asp:Label ID="Label19" runat="server" Text="Price:" Width="150px"></asp:Label>
            <asp:Label ID="lblPrice" runat="server" style="margin-bottom: 0px" Text="Label" 
                Width="150px"></asp:Label>
            <br />
            <br />
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            <asp:Button ID="btnBook" runat="server" Text="Book" Width="100px" 
                onclick="btnBook_Click" />
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            <asp:Button ID="btnCancel" runat="server" Text="Cancel" Width="100px" 
                onclick="btnCancel_Click" />
            <br />
        </ContentTemplate>
    </asp:UpdatePanel>
</asp:Content>
